#ifndef FileCheck_h
#define FileCheck_h

#include <io.h>
#include "xml.h"
#include <string>
#include "file_system.h"

class CFileCheck{
public:
	CFileCheck();
	~CFileCheck();
	void initialize();
	void run();

protected:
	void dir_check(char * n_Path);
	void file_check(char * n_FileName, char * n_FileSize, char * n_FileWriteTime);

private:
	CFileSystem m_FileSystem;
	XMLNode m_MainNode;
	XMLNode m_ChildNode;
	XMLNode m_TempNode;
	std::string m_FilePath;
	char * m_File;
	char * m_Dir;

	_finddata_t m_FileInfo;	
};

#endif